package com.zzptc.lzh.myapp27.ui.kk;

import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.provider.DocumentsContract;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.zzptc.lzh.myapp27.R;
import com.zzptc.lzh.myapp27.entity.YouBian;

public class MyFragment extends Fragment {
    private TextView tv_bianma,tv_difang;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View root=inflater.inflate(R.layout.fragment_my, container, false);
        initView(root);
        initData();
        return root;
    }

    private void initData() {
        SharedPreferences sp=getActivity().getSharedPreferences("userinfo",Context.MODE_PRIVATE);
        SharedPreferences.Editor edit = sp.edit();
        
    }

    private void initView(View root) {
        tv_bianma=root.findViewById(R.id.tv_bianma);
        tv_difang=root.findViewById(R.id.tv_difang);

    }

}
